package com.meilai.project.mapper.business.contract;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.meilai.project.entity.business.contract.ContractPayDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xchen
 * @since 2022-06-08
 */
@Mapper
public interface ContractPayDetailMapper extends BaseMapper<ContractPayDetail> {
	@Update("delete from contract_pay_detail where contract_id = #{contract_id} ")
	int clearContractRelation(@Param("contract_id") Long contractId);
}
